<?php
/**
 *	KLF Framework
 *
 *	Written by Kristian Oye <kristianoye@gmail.com> on Oct 30, 2011
 *	Copyright (C) 2010-2011
 */
namespace KLF\System\Config
{
	use KLF\KCore;

	use KLF\System\Errors\KException;
	
	/**
	 *  Class KHostNotFoundException
	 *
	 *  Error gets thrown when a host is requested that has not been defined.
	 *
	 *  @package KLF\System\Config
	 *  @access public
	 *  @author Kristian Oye <kristianoye@gmail.com>
	 *  @since 0.1
	 *
	 *  @method KHostNotFoundException NewInstance
	 */
	class KHostNotFoundException extends KException
	{
		public function __construct($hostName = '')
		{
			parent::__construct(KCore::FS("The host '{hostname}' is not in the configuration.",
				array('hostname' => $hostName)));
		}
	}
}